import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/views/Index'
import Blank from '@/views/Blank'
import About from '@/views/About'
import Product from '@/views/Product'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index,
      children:[
        {
            path: '/about',
            component: About
        },
        {
            path: '/product',
            component: Product
        }
      ]
    },
    {
      path: '/blank',
      name: 'blank',
      component: Blank
    }
  ]
})
